﻿using Transformable_Engine_v2.Engine.GameObjects.Containers;
using Transformable_Engine_v2.Engine.Helper;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Super_Management_Mayhem.Screens.Playing.Particle.Explosion
{
    public class BombInside : Container
    {
        private const int SMOKE_INSIDE_COUNT = 5;

        public BombInside()
        {
            for (int i = 0; i < SMOKE_INSIDE_COUNT; i++)
            {
                AddChildren(new BombInsideSmoke(new TE_Vector2((1.0 / SMOKE_INSIDE_COUNT * i + Randomizer.Double(0, 0.10)).TimesTwoPi(), 2 * 0.66f)));
                AddChildren(new BombInsideSmoke(new TE_Vector2((1.0 / SMOKE_INSIDE_COUNT * i + Randomizer.Double(0, 0.10)).TimesTwoPi(), 2 * 0.44f)));
                AddChildren(new BombInsideSmoke(new TE_Vector2((1.0 / SMOKE_INSIDE_COUNT * i + Randomizer.Double(0, 0.10)).TimesTwoPi(), 2 * 0.22f)));
            }
        }
    }
}